package servlets;

public enum ErrorCode {
	NO_ERROR,
	INVALID_PARAMETERS,
	PASSWORDS_DOES_NOT_MATCH,
	USER_EXISTS,
	USER_CREATE_ERROR,
	CODE_CREATE_ERROR,
	CANNOT_CONNECT_TO_DB;
	public String toString(){
		String s = super.toString();
		s = s.replace("_", " " );
		return s.toLowerCase();
	}
}
